home *** CD-ROM | disk | FTP | other *** search
Text File | 1990-03-07 | 7.8 KB | 185 lines | [TEXT/QED1] |
- concat-o-magic version 0.11ß
- Copyright © 1990 Chriss Koch. All rights reserved.
-
- concat-o-magic is a Tabby event compatible utility which concatenates TEXT
- files. concat-o-magic was written in THINK C by Chriss Koch (some portions
- copyright THINK C and Michael Connick). concat-o-magic is free for
- non-commercial use and distribution. Please contact the author for details
- concerning commercial use or distribution.
-
-
- • USES •
- Most likely you already have an idea how you want to use this utility.
- In case you don't, I'll explain one of the ways I use it.
-
- Daily I create TEXT file listings of each file section on my BBS. I take
- these files, along with headers for each section, and squash it all into one
- file.
-
- concat-o-magic is Tabby event compatible, which means that it can run
- unattended during any Tabby event. concat-o-magic can also be operated
- outside of the Tabby event.
-
-
- • SETUP •
- When using concat-o-magic in a Tabby event, the application must reside in the
- same folder as your BBS and Tabby programs. Of course you will need to edit
- any of your Tabby event chains where you would like concat-o-magic to run.
- concat-o-magic reads a TEXT file containing pathnames to find the files you
- wish to concatenate. By default, this file’s name is “concat-o-magic data”
- and it resides in the same folder as concat-o-magic. You may however specify
- a new name and location for the data file by modifying the first string in the
- STR# (ID 401) resource. The second string in the STR# (ID 401) resource
- contains the pathname to a TEXT file which contains information concerning the
- activities of concat-o-magic. This file’s default name is “concat-o-magic
- log” and it's location is in the same folder as concat-o-magic. Here again,
- you may modify the name and location of this log file by editing the resource.
-
- You will need to edit the concat-o-magic data file so that it contains valid
- pathnames to the files you wish to concatenate. This data file of pathnames
- must adhere to a special format. Each line of the data file should contain
- the pathname to a TEXT file. Each pathname is limited to 255 characters in
- length. Each line must be terminated in a Carriage Return. The first line in
- the data file will contain the full pathname to your output file. This output
- file is the product of concat-o-magic’s execution. Each additional line in
- the data file should contain the full pathname to a file you wish to have
- concatenated (appended) to the output file. Below is a sample concat-o-magic
- data file.
-
- HD 60:concat-o-magic output:SCORPION PDS Files
- HD 60:PDS Files Folder:Applications.hdr
- HD 60:PDS Files Folder:Applications.txt
- HD 60:PDS Files Folder:Utilities.hdr
- HD 60:PDS Files Folder:Utilities.txt
- HD 60:PDS Files Folder:Games.hdr
- HD 60:PDS Files Folder:Games.txt
- HD 60:PDS Files Folder:Fonts.hdr
- HD 60:PDS Files Folder:Fonts.txt
-
- Note that “HD 60:SCORPION PDS Files” would be the very first line in the data
- file, and it is the full pathname to the output file. If the output file
- already exists, it will not be overwritten unless specified (See OPTIONS below
- for more information).
- The second line, “HD 60:PDS Files Folder:Applications.hdr”, contains the full
- pathname to the first input file. The contents of this file will constitute
- the beginning of the output file. Each successive line contains the full
- pathname to an input file. Notice that all pathnames must be terminated in a
- Carriage Return (including the last pathname). The input files are appended
- to the output file in the order that they appear.
-
-
- • OPTIONS •
- If the output file specified in the first line of the data file already exists
- (for example following execution of concat-o-magic), the file will not be
- overwritten, unless specified by you. To take advantage of this option,
- simply place one (or more) TAB character(s), plus a 'y' or 'Y' character
- following the output file’s pathname, on the same line. concat-o-magic also
- has the capability to delete the input files after they are appended to the
- output file, using this same technique. This feature is especially useful if
- you don't have an abundance of free disk space. Below is an example of this
- option. (this will line up properly if you have your TABs set to 4 characters)
-
- HD 60:concat-o-magic output:SCORPION PDS Files Y
- HD 60:PDS Files Folder:Applications.hdr N
- HD 60:PDS Files Folder:Applications.txt Y
- HD 60:PDS Files Folder:Utilities.hdr N
- HD 60:PDS Files Folder:Utilities.txt Y
- HD 60:PDS Files Folder:Games.hdr N
- HD 60:PDS Files Folder:Games.txt Y
- HD 60:PDS Files Folder:Fonts.hdr N
- HD 60:PDS Files Folder:Fonts.txt Y
-
- In the above example, the output file will be overwritten, if it already
- exists. The “Applications.txt”, “Utilities.txt”, “Games.txt” and “Fonts.txt”
- files will be deleted after they are appended to the output file. The TAB and
- 'n' characters are not required, but may be used, to facilitate readability.
- Just be sure to put only one character after the last TAB on each line.
- Notice that I used multiple TABs, which makes everything line up nicely, but
- this is not a requirement. Only one TAB is needed.
-
- As mentioned previously, you may specify the names and locations of the data
- and log files by editing concat-o-magic’s STR# resource (ID 401).
-
-
- • DISCLAIMER •
- concat-o-magic is distributed “as is” with no warranty, express or implied
- with respect to the software or its quality, performance, reliability, or
- fitness for any purpose. In no case will the author be held liable for direct
- or incidental damages resulting from defects in the software, including but
- not limited to any interruption of service, loss of business, anticipated
- profit, or other consequential damages.
-
-
- • MORE STUFF •
- This version of concat-o-magic is ßeta release. concat-o-magic and other
- utilities may become available as a package some time in the future. The
- latest version of concat-o-magic can always be obtained by downloading or file
- request (use filename concat-o-magic.sit to FREQ) from SCORPION BBS
- (719-637-1458, FidoNet node 1:128/46) or by sending a formatted diskette and
- self-addressed, stamped, return envelope to:
-
- Chriss Koch
- 5325 Red Sky Dr
- Colo Spgs, CO 80915
-
- The author of concat-o-magic would appreciate any comments (bug
- reports, enhancement requests (?), etc…) from users. Please address all
- correspondence to the address above or:
-
- GEnie: C.KOCH
-
- SCORPION BBS
- 3/12/2400 24hrs
- (719) 637-1458
- FidoNet 1:128/46
- Sysop: Chriss Koch
-
-
- • A PLUG •
- Do you operate a Red Ryder Host (Second Sight) BBS?
-
- Have you grown tired of the inflexibility of Scott Watson's file section
- editor, "FileEdit"?
-
- Do you find yourself yearning for something a little less unwieldy?
-
- Never fear, tidE is hear!
-
- What is tidE, you ask?
-
- tidE is a Red Ryder Host 2.x file section editor developed by Ken Beutel and
- myself. tidE is a FREE program for non-commercial use and distribution by
- Red Ryder Host sysops. tidE is publicly available at fine BBSs near you.
-
- - or -
-
- The latest version of tidE can always be obtained by downloading or file
- request (use filename tide.sit to FREQ) from SCORPION BBS (719-637-1458,
- FidoNet node 1:128/46) or by sending a formatted diskette and self-addressed,
- stamped, return envelope to the address shown above in “MORE STUFF”.
-
- Some features of tidE include:
-
- • Editing of multiple File Sections simultaneously (limited by RAM and
- disk space).
- • Cut, Copy and Paste between File Sections.
- • Editing of file descriptions in a multiline environment (Cut, Copy and
- Paste supported).
- • Online help.
- • Add new files with system and default parameters.
- • Multiple save features including removal of file entries marked for
- deletion.
- • Full Mac interface support including windows, menus, mouse, cursor keys,
- command key equivalents and short-cuts for commonly used commands.
- • Data extraction to TEXT file.
- • “Find” commands.
- • Sorting.
- • Printing.
- • And much more.
-
-
- Happy BBSing!
-
- Chriss Koch
- “Sysops are some of the neatest people you’ll ever know!”
-